package org.dromara.yuanshidian.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 退费计息明细对象 ab04_refund
 *
 * @author tzhong
 * @date 2025-06-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ab04_refund")
public class Ab04Refund extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;


    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 缴费时间 */
    private String paymentTime;

    /** 当年记账利率 */
    private BigDecimal accountingRate;

    /** 月缴费 */
    private BigDecimal monthlyPayment;

    /** 年缴费 */
    private BigDecimal annualPayment;

    /** 上年末个人账户累积额 */
    private BigDecimal lastYearAmount;

    /** 上年末个人账户累积额利息收入 */
    private BigDecimal lastYearAccumulateAmount;

    /** 本年缴纳的个人部分利息收入 */
    private BigDecimal currentYearInterestIncome;

    /** 利息收入 */
    private BigDecimal interestIncome;

    /**
     * 用户身份证
     */
    private String userCard;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    //人员状态：1在职，2离退
    private Integer personnelStatus;


}
